<?php $isLogin = is_login();?>
<include file="header:head" />
<?php if($isLogin && !I('get.ifm')){?>
<include file="header:top" />
<?php }elseif(session('loginFUid') && session('loginFName') && session('loginFType')){?>
<include file="header:thead" />
<?php }?>
 {__CONTENT__}
 <?php if($isLogin && !I('get.ifm')){?>
<include file="footer:foot" />
<?php }else{?>
<include file="footer:static" />
<?php }?>